package com.webshooter.decoder;

public class KeyPressCommand extends Command {

    private String name;
    private String keyCode;

    public KeyPressCommand(String name, String keyCode) {
        this.name = name;
        this.keyCode = keyCode;
    }

    public String getKeyCode() {
        return keyCode;
    }

    @Override
    public String getName() {
        return name;
    }
}
